/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;

/**
 *@ClassName: CodeCirculation
 *@Description: 码流转记录表
 *@author youjun
 *@date 2017年8月10日 下午11:35:24
 */
public class CodeCirculation implements Serializable {

	/**
	 *@Fields serialVersionUID :
	 */
	private static final long serialVersionUID = 7227221982462466699L;

	@Id
	private String id;
	
	private String qrCode; // 二维码SHA-256摘要后的内容
	private Integer level; // 码的包装级别
	private String urlDomain; // 域名，包含domain和subdomain
	private Integer type; // 码类型
	private Integer status; // 码状态，是否激活等其他状态
	private Date createTime; // 流转记录创建时间，请使用MongoDB的Date，而不要使用ISODate
	private String creatorName; // 创建人名称
	private Integer organizationType; // 组织类型，1-企业，2-经销商，3-终端店
	private String organizationCode; // 组织代码
	private String organizationName; //	组织名称
	private String productCode; // 产品代码
	private String productName; // 产品名称
	private Integer dealersType; // 经销商类型
	private String dealersCode; // 经销商代码
	private String dealersName; // 经销商名称
	private String productBatchCode; // 产品生产批次，也可看做是码的生产批次
	private String productLineCode; // 生产线代码
	private String productLineName; // 生产线名称
	private String workshopCode; // 车间代码
	private String workshopName; // 车间名称
	private String productTeamCode; // 生产班组代码
	private String productTeamName; // 生产班组名称
	private String fromWarehouseCode; // 起始仓库编码
	private String fromWarehouseName; // 起始仓库名称
	private String toWarehouseCode; // 目标仓库编码
	private String toWarehouseName; // 目标仓库名称
	private String workOrderId; // 工单号，出入库时都有工单号
	
	/**
	 *@return the qrCode
	 */
	public String getQrCode() {
		return qrCode;
	}
	/**
	 *@param qrCode the qrCode to set
	 */
	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}
	/**
	 *@return the level
	 */
	public Integer getLevel() {
		return level;
	}
	/**
	 *@param level the level to set
	 */
	public void setLevel(Integer level) {
		this.level = level;
	}
	/**
	 *@return the urlDomain
	 */
	public String getUrlDomain() {
		return urlDomain;
	}
	/**
	 *@param urlDomain the urlDomain to set
	 */
	public void setUrlDomain(String urlDomain) {
		this.urlDomain = urlDomain;
	}
	/**
	 *@return the type
	 */
	public Integer getType() {
		return type;
	}
	/**
	 *@param type the type to set
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 *@return the status
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 *@param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 *@return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 *@param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 *@return the creatorName
	 */
	public String getCreatorName() {
		return creatorName;
	}
	/**
	 *@param creatorName the creatorName to set
	 */
	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}
	/**
	 *@return the organizationType
	 */
	public Integer getOrganizationType() {
		return organizationType;
	}
	/**
	 *@param organizationType the organizationType to set
	 */
	public void setOrganizationType(Integer organizationType) {
		this.organizationType = organizationType;
	}
	/**
	 *@return the organizationCode
	 */
	public String getOrganizationCode() {
		return organizationCode;
	}
	/**
	 *@param organizationCode the organizationCode to set
	 */
	public void setOrganizationCode(String organizationCode) {
		this.organizationCode = organizationCode;
	}
	/**
	 *@return the organizationName
	 */
	public String getOrganizationName() {
		return organizationName;
	}
	/**
	 *@param organizationName the organizationName to set
	 */
	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}
	/**
	 *@return the productCode
	 */
	public String getProductCode() {
		return productCode;
	}
	/**
	 *@param productCode the productCode to set
	 */
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}
	/**
	 *@return the productName
	 */
	public String getProductName() {
		return productName;
	}
	/**
	 *@param productName the productName to set
	 */
	public void setProductName(String productName) {
		this.productName = productName;
	}
	/**
	 *@return the dealersType
	 */
	public Integer getDealersType() {
		return dealersType;
	}
	/**
	 *@param dealersType the dealersType to set
	 */
	public void setDealersType(Integer dealersType) {
		this.dealersType = dealersType;
	}
	/**
	 *@return the dealersCode
	 */
	public String getDealersCode() {
		return dealersCode;
	}
	/**
	 *@param dealersCode the dealersCode to set
	 */
	public void setDealersCode(String dealersCode) {
		this.dealersCode = dealersCode;
	}
	/**
	 *@return the dealersName
	 */
	public String getDealersName() {
		return dealersName;
	}
	/**
	 *@param dealersName the dealersName to set
	 */
	public void setDealersName(String dealersName) {
		this.dealersName = dealersName;
	}
	/**
	 *@return the productBatchCode
	 */
	public String getProductBatchCode() {
		return productBatchCode;
	}
	/**
	 *@param productBatchCode the productBatchCode to set
	 */
	public void setProductBatchCode(String productBatchCode) {
		this.productBatchCode = productBatchCode;
	}
	/**
	 *@return the productLineCode
	 */
	public String getProductLineCode() {
		return productLineCode;
	}
	/**
	 *@param productLineCode the productLineCode to set
	 */
	public void setProductLineCode(String productLineCode) {
		this.productLineCode = productLineCode;
	}
	/**
	 *@return the productLineName
	 */
	public String getProductLineName() {
		return productLineName;
	}
	/**
	 *@param productLineName the productLineName to set
	 */
	public void setProductLineName(String productLineName) {
		this.productLineName = productLineName;
	}
	/**
	 *@return the workshopCode
	 */
	public String getWorkshopCode() {
		return workshopCode;
	}
	/**
	 *@param workshopCode the workshopCode to set
	 */
	public void setWorkshopCode(String workshopCode) {
		this.workshopCode = workshopCode;
	}
	/**
	 *@return the workshopName
	 */
	public String getWorkshopName() {
		return workshopName;
	}
	/**
	 *@param workshopName the workshopName to set
	 */
	public void setWorkshopName(String workshopName) {
		this.workshopName = workshopName;
	}
	/**
	 *@return the productTeamCode
	 */
	public String getProductTeamCode() {
		return productTeamCode;
	}
	/**
	 *@param productTeamCode the productTeamCode to set
	 */
	public void setProductTeamCode(String productTeamCode) {
		this.productTeamCode = productTeamCode;
	}
	/**
	 *@return the productTeamName
	 */
	public String getProductTeamName() {
		return productTeamName;
	}
	/**
	 *@param productTeamName the productTeamName to set
	 */
	public void setProductTeamName(String productTeamName) {
		this.productTeamName = productTeamName;
	}
	/**
	 *@return the fromWarehouseCode
	 */
	public String getFromWarehouseCode() {
		return fromWarehouseCode;
	}
	/**
	 *@param fromWarehouseCode the fromWarehouseCode to set
	 */
	public void setFromWarehouseCode(String fromWarehouseCode) {
		this.fromWarehouseCode = fromWarehouseCode;
	}
	/**
	 *@return the fromWarehouseName
	 */
	public String getFromWarehouseName() {
		return fromWarehouseName;
	}
	/**
	 *@param fromWarehouseName the fromWarehouseName to set
	 */
	public void setFromWarehouseName(String fromWarehouseName) {
		this.fromWarehouseName = fromWarehouseName;
	}
	/**
	 *@return the toWarehouseCode
	 */
	public String getToWarehouseCode() {
		return toWarehouseCode;
	}
	/**
	 *@param toWarehouseCode the toWarehouseCode to set
	 */
	public void setToWarehouseCode(String toWarehouseCode) {
		this.toWarehouseCode = toWarehouseCode;
	}
	/**
	 *@return the toWarehouseName
	 */
	public String getToWarehouseName() {
		return toWarehouseName;
	}
	/**
	 *@param toWarehouseName the toWarehouseName to set
	 */
	public void setToWarehouseName(String toWarehouseName) {
		this.toWarehouseName = toWarehouseName;
	}
	/**
	 *@return the workOrderId
	 */
	public String getWorkOrderId() {
		return workOrderId;
	}
	/**
	 *@param workOrderId the workOrderId to set
	 */
	public void setWorkOrderId(String workOrderId) {
		this.workOrderId = workOrderId;
	}
	/**
	 *@return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 *@param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	
}
